package com.bjpowernode.javaweb.servlet;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;

public class LoginServlet extends GenericServlet{
    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("正在登录，请稍后...");

        ServletConfig config = this.getServletConfig();
        System.out.println("service中获取到ServletConfig对象:" + config);

    }
}
